package com.estate.generator.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface QiniuService {
   public String getUpToken();
   //保存图片
   public String saveBuyImage(MultipartFile file,int uploadId) throws IOException;
   public String saveImageByName(MultipartFile file,String foldName) throws IOException;
   //删除图片
   public boolean deletePhoto(String fileName,String foldName);
}
